package com.thread.www.test;

/**
 * @Author: 并发实战教程里的demo 车辆位置，不可变类
 * @Description:
 * @Date: Created in 10:05 2017-06-14
 * @Modfied By:
 */
public class Point

{
    public final int x, y;

    public Point(int x, int y) {
        this.x = x;
        this.y = y;
    }

    @Override
    public String toString() {
        return "Point{" +
                "x=" + x +
                ", y=" + y +
                '}';
    }
}
